package com.knowif.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 
 * 
 * @author wcyong
 * 
 * @date 2020-06-15
 */
public class Offer {
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    private String userName;

    /**
     * 考生类型1国内2海外
     */
    private Byte studentType;

    /**
     * 学位类型
     */
    private Byte offerType;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 专业名称
     */
    private String specialName;

    /**
     * 入学年份
     */
    private String enrollmentYear;

    /**
     * 入学学期1秋2春3夏
     */
    private String enrollmentSemester;

    /**
     * 录取结果1已录2初试3ad小奖4全奖5被拒6waitinglist
     */
    private Byte admissionResult;

    /**
     * 通知时间
     */
    private String noticeTime;

    /**
     * 是否匿名
     */
    private Byte isAnonymous;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    private TUser tUser;
    /**
     * 标化成绩id
     */
    private Integer standerScoreId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Byte getStudentType() {
        return studentType;
    }

    public void setStudentType(Byte studentType) {
        this.studentType = studentType;
    }

    public Byte getOfferType() {
        return offerType;
    }

    public void setOfferType(Byte offerType) {
        this.offerType = offerType;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName == null ? null : schoolName.trim();
    }

    public String getSpecialName() {
        return specialName;
    }

    public void setSpecialName(String specialName) {
        this.specialName = specialName == null ? null : specialName.trim();
    }

    public String getEnrollmentYear() {
        return enrollmentYear;
    }

    public void setEnrollmentYear(String enrollmentYear) {
        this.enrollmentYear = enrollmentYear == null ? null : enrollmentYear.trim();
    }

    public String getEnrollmentSemester() {
        return enrollmentSemester;
    }

    public void setEnrollmentSemester(String enrollmentSemester) {
        this.enrollmentSemester = enrollmentSemester == null ? null : enrollmentSemester.trim();
    }

    public Byte getAdmissionResult() {
        return admissionResult;
    }

    public void setAdmissionResult(Byte admissionResult) {
        this.admissionResult = admissionResult;
    }

    public String getNoticeTime() {
        return noticeTime;
    }

    public void setNoticeTime(String noticeTime) {
        this.noticeTime = noticeTime == null ? null : noticeTime.trim();
    }

    public Byte getIsAnonymous() {
        return isAnonymous;
    }

    public void setIsAnonymous(Byte isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStanderScoreId() {
        return standerScoreId;
    }

    public void setStanderScoreId(Integer standerScoreId) {
        this.standerScoreId = standerScoreId;
    }
}